import { useReactive } from "ahooks";
import { useModel } from "umi";
import { useEffect } from "react";
import compress from "gql-compress";

const useDeleteHomepageStore = () => {
    const { graphqlFetch } = useModel("global");

    const state = useReactive({
        deleteHomepageStoreLoading: false,
    });

    const deleteHomepageStore = async (values) => {
        state.deleteHomepageStoreLoading = true;

        let variables = {

        };

        // let res = await graphqlFetch({
        //     query,
        //     variables,
        // });

        // state.deleteHomepageStoreLoading = false;

        // return res;
    };

    return { deleteHomepageStore };
};


const query = compress(``);

export default useDeleteHomepageStore;
